<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div class="container"></div>

    <script>
        // const container = document.querySelector('.container');
        // const container = document.getElementsByClassName('container')[0];

        function q (selector) {
            return document.querySelector(selector);
        }

        function on (ele, eventType, callback) {
            ele.addEventLister(eventType, callback);
        }

        const container = q('.container');
      
        on(container, 'click', function () {
            
        });

        
    </script>
</body>
</html>